﻿// ////////////////////////////////////////////////////////////////////////////
// 
// SWE Case Tool
// 
// Solution:	CaseTool
// Project:		1. CaseTool
// Filename:	IMethod.cs
// 
// File Created:	09:40 16.05.2013 
// Last Changed:	18:11 05.06.2013
// 
// ////////////////////////////////////////////////////////////////////////////

using System;

namespace SWE.CaseTool
{
	/// <summary>
	/// Interface for estimation methods. A class which inherits from this interface
	/// and is placed in a dll in the "method" folder, will be displayed as suitable
	/// method. The method need's to be a public class, wich inherits from this
	/// interface, this is the only requirement for a class, to be a method.
	/// </summary>
	public interface IMethod : IDisposable
	{
		/// <summary>
		/// Calculates this estimated development time of the current project.
		/// </summary>
		/// <returns></returns>
		double Calculate();
	}
}